/**
 * @author   zhangyp
 * @created  2013-10-14 上午9:45:48
 * @email    zviolet@163.com
 * TODO      接收开机启动广播
 */
package com.bible.fire.local;

import com.bible.fire.service.BootService;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class BootBroadcastReceiver extends BroadcastReceiver { 
	
	private static String TAG = BootBroadcastReceiver.class.getSimpleName();

	@Override
	public void onReceive(Context context, Intent intent) {
		Log.d(TAG, "receive system boot broadcast");
		Intent bootIntent = new Intent( context, BootService.class );
        //bootIntent.setAction("com.bible.fire.service.BootService");
        context.startService( bootIntent );
	}

}
